{% extends "base.html" %}
{% block content_header %}
{% endblock %}
{% block content_body %}
{% with messages = get_flashed_messages() %}
{% if messages %}
<div class="callout callout-warning">
    <ul>
        {% for message in messages %}
        <li><h4>{{ message }}</h4></li>
        {% endfor %}
    </ul>
</div>
{% endif %}
{% endwith %}
    <div class="box">
            <div class="box-header">
              <h3 class="box-title">设备配置</h3>
            </div>
    <div class="box-body table-responsive">
        <table class="table table-striped">
            <tr>
                                <th>ID</th>
            </tr>
            {% for image in image_list %}
           <tr>
               <td>{{  image   }}</td>
           </tr>
            {% endfor %}
        </table>
             <a class="btn btn-app" data-toggle="modal" data-target="#devicecfg-create-modal"><i class="fa fa-plus"></i>添加配置</a>
    </div>
    </div>
{% endblock %}

